package cool.qingqing.hero.service.impl;

import cool.qingqing.hero.entity.Heros;
import cool.qingqing.hero.mapper.HerosMapper;
import cool.qingqing.hero.service.IHerosService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gaoshanqing
 * @since 2023-10-15
 */
@Service
public class HerosServiceImpl extends ServiceImpl<HerosMapper, Heros> implements IHerosService {

    @Autowired
    private HerosMapper herosMapper;
    @Override
    public List<Heros> getByNamHeros(String name) {
        
        return herosMapper.getBynamHeros(name);
    }

}
